package com.cfinnovate.interoperability.factory;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.bluedragon.plugin.ObjectCFCImpl;
import com.bluedragon.plugin.PluginManager;
import com.cfinnovate.interoperability.cfmlobject.CfmlObject;
import com.cfinnovate.interoperability.cfmlobject.OpenBdCFC;
import com.naryx.tagfusion.cfm.engine.cfComponentData;
import com.naryx.tagfusion.cfm.engine.cfSession;

public class CfmlObjectFactory {
	String cfcPath;

	public CfmlObjectFactory(String cfcPath) {
		this.cfcPath = cfcPath;
	}


	public CfmlObject getCfcInstance(HttpServletRequest request,
			HttpServletResponse response, ServletContext ctx) throws Exception {

		return new OpenBdCFC(cfcPath, request, response, ctx);
	}


}
